#ifndef __CHATAPP_H
#define __CHATAPP_H

#include <gtk/gtk.h>
#include <stdlib.h>
#include <glib-object.h>
//#include <json-glib/json-glib.h>
#define CHAT_NOTICE_NO_SERVER		"Please set the server url first"
#define CHAT_NOTICE_CONNECTED		"connected"
#define CHAT_NOTICE_DISCONNECTED	"disconnected"
#define CHAT_NOTICE_NO_ID		"no id"
#define CHAT_NOTICE_NO_PWD		"no pwd"
#define CHAT_DEFAULT_PORT		4444
#define CHAT_APP_TYPE (chat_app_get_type ())
G_DECLARE_FINAL_TYPE (ChatApp, chat_app, CHAT, APP, GtkApplication)


ChatApp     *chat_app_new         (void);


#endif /* __CHATAPP_H */
